from django.contrib import admin
from .models import Comment
# Register your models here.

@admin.register(Comment)#这种方式会在后台直接使用form展示，不用单独写form
class CommentAdmin(admin.ModelAdmin):
    list_display=('target','nickname','content','website','created_time')
